﻿<%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="SMS.Account.Login" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div dir="rtl" class="accountInfo">
        <table>
            <tr>
                <td align="right">
                    <h2>
                        تسجيل الدخول
                    </h2>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Panel runat="server" GroupingText="البيانات">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="txtUserName">الإسم:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserName" runat="server" CssClass="textEntry"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="txtUserName"
                                        CssClass="failureNotification" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                                        ToolTip="User Name is required." ValidationGroup="LoginUserValidationGroup"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="txtPassword">كلمة السر:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="txtPassword"
                                        CssClass="failureNotification" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                                        ToolTip="Password is required." ValidationGroup="LoginUserValidationGroup"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td align="left">
                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="دخول" ValidationGroup="LoginUserValidationGroup"
                                        OnClick="LoginButton_Click" />
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
        </table>
    </div>
    <%--</LayoutTemplate>
    </asp:Login>--%>
</asp:Content>
